Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /


Chapter 7 - Transform Objects

This chapter describes transform objects (or transforms) and the functions you can use to create and manipulate them. You can use transforms to change the position, size, or orientation of a geometric object. QuickDraw 3D uses numerous transforms internally, for example, when creating a two-dimensional image of a three-dimensional model. QuickDraw 3D supports a number of types of transforms, including translate, scaling, rotation, and arbitrary affine transforms.

You should read this chapter for general information about the types of transforms supported by QuickDraw 3D and for specific information about applying transforms to objects in your models. See the chapter "View Objects" for routines that you can use to get information about the transforms that QuickDraw 3D uses internally when rendering a model.

This chapter begins by describing transform objects and their features. It
also describes the various coordinate systems or spaces supported by QuickDraw 3D. The section "Transform Objects Reference," beginning on page 7-16 provides a complete description of transform objects and the routines you can use to create and manipulate them.


Chapter Contents
About Transform Objects
Spaces
Types of Transforms
Matrix Transforms
Translate Transforms
Scale Transforms
Rotate Transforms
Rotate-About-Point Transforms
Rotate-About-Axis Transforms
Quaternion Transforms
Transform Objects Reference
Data Structures
Rotate Transform Data Structure
Rotate-About-Point Transform Data Structure
Rotate-About-Axis Data Structure
Transform Objects Routines
Managing Transforms
Creating and Manipulating Matrix Transforms
Creating and Manipulating Rotate Transforms
Creating and Manipulating Rotate-About-Point Transforms
Creating and Manipulating Rotate-About-Axis Transforms
Creating and Manipulating Scale Transforms
Creating and Manipulating Translate Transforms
Creating and Manipulating Quaternion Transforms
Summary of Transform Objects
C Summary
Constants
Data Types
Transform Objects Routines
Managing Transforms
Creating and Manipulating Matrix Transforms
Creating and Manipulating Rotate Transforms
Creating and Manipulating Rotate-About-Point Transforms
Creating and Manipulating Rotate-About-Axis Transforms
Creating and Manipulating Scale Transforms
Creating and Manipulating Translate Transforms
Creating and Manipulating Quaternion Transforms
Errors

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996